package cn.edu.sdjzu.xg23.kcsj01_backend.service;

import cn.edu.sdjzu.xg23.kcsj01_backend.entity.SupportingMaterial;

import java.util.List;

public interface SupportingMaterialService {
    boolean addSupportingMaterials(Long achievementId, List<SupportingMaterial> supportingMaterials);

    boolean updateSupportingMaterials(Long achievementId, List<SupportingMaterial> newMaterials);

    List<SupportingMaterial> findByAchievementId(Long achievementId);

    boolean deleteSupportingMaterials(Long achievementId);


    boolean deleteSupportingMaterialsByIds(List<Long> ids);
}
